package yadong.example.code.jaxb;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Occurrence {
	private String day;
	private String duration;
	private String endDate;
	private String location;
	private String locationId;
	private String month;
	private String startDate;
	private String time;
	private String weekday;
	private String year;
	public Occurrence() {
		
	}
	public Occurrence(String val) {
		this.day=val;
		this.duration=val;
		this.endDate=val;
		this.location=val;
		this.locationId=val;
		this.month=val;
		this.startDate=val;
		this.time=val;
		this.weekday=val;
		this.year=val;
	}
	public Occurrence(String day,
					  String duration,
					  String endDate,
					  String location,
					  String locationId,
					  String month,
					  String startDate,
					  String time,
					  String weekday,
					  String year) {
		this.day=day;
		this.duration=duration;
		this.endDate=endDate;
		this.location=location;
		this.locationId=locationId;
		this.month=month;
		this.startDate=startDate;
		this.time=time;
		this.weekday=weekday;
		this.year=year;
	}
	public String getDay() {
		return day;
	}
	public void setDay(String day) {
		this.day = day;
	}
	public String getDuration() {
		return duration;
	}
	public void setDuration(String duration) {
		this.duration = duration;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getLocationId() {
		return locationId;
	}
	public void setLocationId(String locationId) {
		this.locationId = locationId;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getWeekday() {
		return weekday;
	}
	public void setWeekday(String weekday) {
		this.weekday = weekday;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	


	
}
